{% extends "wiki/base.html" %}
{% block title %}River Descriptions : {{ object.title|escape }}{% endblock %}

{% block extra_head %} 
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key={{map_api}}"
      type="text/javascript"></script>
  
{% endblock %}


{% block content %}
<div class="wikipage">
<h1>{{ object.title|escape }}</h1>

{% load wiki_text %}
	{{ object.current_text.text|wikitext }}
	
	{% if flows %}
		<table style="margin:0 auto;"  class="flows" >
	
		<tr><th>River Name</th><th>Class</th><th>Current Flow</th><th>Ideal Flow</th><th>Last Update</th><th>History</th></tr>
		{% for one in flows %}
			<tr><td><a href="{{one.description}}">{{one.river}}</a></td><td> {{one.class}}</td><td {{one.color}}>{{one.flow}}</td><td>{{one.ideal}}</td><td>{{one.date}} {{one.time}}</th><th><a href="{{one.history}}">History</a></th></tr>
		{% endfor %}	
		</table>
	{% endif %}
	<div class="article_menu"><b>last updated {{ object.edit_date|date:"F j, Y  g:i A" }}</b><a href="{{object.get_edit_url}}">Edit</a> <a href="{{object.get_history_url}}">History</a> <!--<a href="{{object.get_absolute_talk_url}}">Discussion</a>--></div>
</div>
{% endblock %}
